package com.team.engine.permission.dao;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.team.engine.basedao.BaseEntity;

/**
 * 操作类型，表实体
 * @author MengLH
 * @data 2010-8-4
 */
@Entity
@Table(name="t_operator")
public class TOperator extends BaseEntity {

	/**
	 * 操作Id
	 */
	@Id
	@Column(name="operator_id", unique=true)
	private int operator_id;
	
	/**
	 * 操作名
	 */
	@Column
	private String name;
	
	/**
	 * 说明
	 */
	@Column
	private String explain;

	public int getOperator_id() {
		return operator_id;
	}

	public void setOperator_id(int operatorId) {
		operator_id = operatorId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getExplain() {
		return explain;
	}

	public void setExplain(String explain) {
		this.explain = explain;
	}
}
